<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<link
	href='<%=request.getContextPath()%>/resources/css/datetimepicker.css'
	rel='stylesheet'>
<script
	src="<%=request.getContextPath()%>/resources/js/jquery.datetimepicker.js"></script>
<sf:form action="${pageContext.request.contextPath}/notice/updateNotice"
	method="post" modelAttribute="notice">
	<input name="id" type="hidden"/>
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal"
			aria-label="Close">
			<span aria-hidden="true">&times;</span>
		</button>
		<h4 class="modal-title" id="myModalLabel">编辑公告</h4>
	</div>
	<div class="modal-body">
		<p>
			<label>标题*</label>
			<sf:input type="text" path="title" class="form-control" />
		</p>
		<p>
			<label>时间*</label>
			<sf:input type="text" path="time" class="form-control datetime" />
		</p>
		<p>
			<label>内容*</label>
			<sf:textarea path="content" class="ssss"></sf:textarea>
		</p>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
		<button type="submit" class="btn btn-primary">编辑公告</button>
	</div>
</sf:form>